<?php
/* @var $this FavoriteController */
/* @var $model Favorite */

$this->breadcrumbs=array(
	'Favorites'=>array('index'),
	$model->id=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'Sommaire', 'url'=>array('/')),		
	array('label'=>'Retour', 'url'=>array('/favorite/create')),
);
?>

<h1><i>Gestion des coups de coeur</i></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'favorite-grid',
	'dataProvider'=>$model->search(),
	'columns'=>array(
		'idArea.name',
		'idLocation.name',
	),
)); ?>